package com.htjc.integral.conversion.service.impl;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.htjc.integral.conversion.service.ICorporationBoundManagerService;
import com.htjc.integral.conversion.service.IEcCorporationBoundService;
import com.htjc.integral.conversion.service.IEcbpExchangeService;
import com.htjc.integral.conversion.service.IGdtService;

import lombok.extern.slf4j.Slf4j;

@Slf4j(topic = "conversionLogger")
@Service
public class CorporationBoundManagerServiceImpl implements ICorporationBoundManagerService {
	
	@Autowired
	IEcCorporationBoundService ecCorporationBoundServiceImpl;
	@Autowired
	IGdtService gdtServiceImpl;
	@Autowired
	IEcbpExchangeService ecbpExchangeServiceImpl;
	
	//111
	@Override
	public List<Map<String,String>> checkMobile(String partnerId,String corporationId,
			String applicationUserCode,String addressCard){
		List<Map<String,String>> list = new ArrayList<Map<String,String>>();
		try {
			list = this.ecCorporationBoundServiceImpl.checkMobile(partnerId,corporationId,
					applicationUserCode,addressCard);
		} catch (Exception e) {
			log.error("校验手机出错："+e.getMessage());
			e.printStackTrace();
		}
		return list;
	}

}
